package cn.edu.nuc.crm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.nuc.crm.entity.Manager;

public interface ManagerMapper {
    int deleteByPrimaryKey(Integer managerid);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(Integer managerid);

    int updateByPrimaryKeySelective(Manager record);

    int updateByPrimaryKey(Manager record);
    
    Manager findByManager(String managername);

	List<Manager> manager();

	int count();

	List<Manager> findByid(@Param("start")int start,@Param("offset")int offset);
}